package com.stylefeng.guns.modular.ipmng.model;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.enums.IdType;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author xiongyao
 * @since 2017-11-15
 */
public class BdapWhiteipList extends Model<BdapWhiteipList> {

    private static final long serialVersionUID = 1L;

    @TableId(type = IdType.AUTO)
	private Double id;
    
	private String name;
	private String ip;


	public Double getId() {
		return id;
	}

	public void setId(Double id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getIp() {
		return ip;
	}

	public void setIp(String ip) {
		this.ip = ip;
	}

	@Override
	protected Serializable pkVal() {
		return this.id;
	}

}
